<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/plug/h-ui/css/H-ui.min.css" />



<link rel="stylesheet" type="text/css" href="${ctx}/static/plug/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/plug/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/plug/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/plug/h-ui.admin/css/style.css" />
<style type="text/css">
.clas>li{
	border: 1px solid #fff;
	border-right:0px;
	padding: 0 10px;
}
</style>
<title>后台管理系统</title>
</head>
<body>
	<header class="navbar-wrapper">
		<div class="navbar navbar-fixed-top">
			<div class="container-fluid cl" >
				<a class="logo navbar-logo f-l mr-10 hidden-xs" href="/aboutHui.shtml">慧泊客管理系统</a> <a
					class="logo navbar-logo-m f-l mr-10 visible-xs" href="/aboutHui.shtml"></a> <span
					class="logo navbar-slogan f-l mr-10 hidden-xs"></span> <a aria-hidden="false"
					class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
				<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
					<ul class="cl clas">
						<li>${parkName}</li>
						<li>${roleName}</li>
						<li class="dropDown dropDown_hover"><a href="#" class="dropDown_A">${user.entNo} <i class="Hui-iconfont">&#xe6d5;</i></a>
							<ul class="dropDown-menu menu radius box-shadow">
								<li><a href="javascript:;" onclick="addOrUpdate('修改密码','${ctx}/index/toModify','','410')">修改密码</a></li>
								<li><a href="${ctx}/index/exit">退出</a></li>
							</ul></li>
					</ul>
				</nav>
			</div>
		</div>
	</header>
	<aside class="Hui-aside">
		<div class="menu_dropdown bk_2">
			<c:if test="${menuTree != null &&  fn:length(menuTree) > 0}">
				<c:forEach var="firstMenu" items="${menuTree}">
					<dl id="menu-article">
					<dt>
						${firstMenu.name} <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
					</dt>
					<c:if test="${firstMenu.childTree != null &&  fn:length(firstMenu.childTree) > 0}">
						<dd><ul>
						<c:forEach var="childMenu" items="${firstMenu.childTree}">
							<li><a data-href="${ctx}${childMenu.url}" data-title="${childMenu.name}" href="javascript:void(0)">${childMenu.name}</a></li>
						</c:forEach>
						</ul></dd>
					</c:if>
					</dl>
				</c:forEach>
			</c:if>
		</div>
	</aside>
	<div class="dislpayArrow hidden-xs">
		<a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
	</div>
	<section class="Hui-article-box">
		<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
			<div class="Hui-tabNav-wp">
				<ul id="min_title_list" class="acrossTab cl">
					<li class="active">
					<span title="我的桌面" data-href="${ctx}/static/welcome.html">我的桌面</span>
					<em></em></li>
				</ul>
			</div>
			<div class="Hui-tabNav-more btn-group">
				<a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a
					id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a>
			</div>
		</div>
		<div id="iframe_box" class="Hui-article">
			<div class="show_iframe">
				<div style="display: none" class="loading"></div>
				<iframe scrolling="yes" frameborder="0" src="${ctx}/index/welcome"></iframe>
			</div>
		</div>
	</section>

	<div class="contextMenu" id="Huiadminmenu">
		<ul>
			<li id="closethis">关闭当前</li>
			<li id="closeall">关闭全部</li>
		</ul>
	</div>

	<!--请在下方写此页面业务相关的脚本-->
	<script type="text/javascript" src="${ctx}/static/plug/My97DatePicker/4.8/WdatePicker.js"></script>
	<script type="text/javascript" src="${ctx}/static/plug/datatables/1.10.0/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="${ctx}/static/plug/laypage/1.2/laypage.js"></script>
	<script type="text/javascript">
		/*个人信息*/
		function myselfinfo() {
			layer.open({
				type : 1,
				area : [ '300px', '200px' ],
				fix : false, //不固定
				maxmin : true,
				shade : 0.4,
				title : '查看信息',
				content : '<div>管理员信息</div>'
			});
		}
		
		function exit() {
			layer.confirm("密码修改成功请重新登陆", {btn : [ '确定' ]}, function(index) {
				window.location.href='${ctx}/index/exit';
			}, function() {
				window.location.href='${ctx}/index/exit';
			});
		}
		
		function addOrUpdate(title,url,width,height) {
			layer_show(title,url,width,height);
		}
		
	</script>
</body>
</html>
